<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		div {
			width: 100px;
			height: 100px;
			background-color: pink;
			display: inline-block;
		}
		span {
			width: 100px;
			height: 100px;
			background-color: hotpink;
			display: block;
		}
		a {
			width: 50px;
			height: 20px;
			background-color: deeppink;
			display: inline-block;
		}
	</style>
</head>
<body>
	<div>123</div>
	<div>456</div>
	<div>789</div>
	<span>ABC</span>
	<span>EFG</span>
	<span>XXX</span>
	<a href="#">123</a><a href="#">123</a>
</body>
</html>